package com.situ.ftbserver.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
@TableName("coach")
@Data
public class Coach implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(condition = SqlCondition.LIKE,whereStrategy = FieldStrategy.NOT_EMPTY)
    private String name;

    @TableField(condition = SqlCondition.LIKE,whereStrategy = FieldStrategy.NOT_EMPTY)
    private String phone;

    @TableField(whereStrategy = FieldStrategy.NOT_EMPTY)
    private String sex;
    private Integer age;
    private LocalDate birthday;
    private String height;
    private String weight;

    @TableField(condition = SqlCondition.LIKE,whereStrategy = FieldStrategy.NOT_EMPTY)
    private String email;

    private String description;
    //头像
    @TableField("photo")
    private String avatar;
}
